import React from 'react'
import { Tabs } from 'antd'
import Content from './Content'
import {WeaLocaleProvider} from "ecCom";
import Style from './Style.js'

const TabPane = Tabs.TabPane;
const getLabel = WeaLocaleProvider.getLabel;
class Setting_Tab extends React.Component{
    render(){
        return <Tabs ecId={`${this && this.props && this.props.ecId || ''}_Tabs@6cw8um`} size="large">
            <TabPane ecId={`${this && this.props && this.props.ecId || ''}_TabPane@p7pn6o`} tab={getLabel(33368,"内容")} key="1" ><Content ecId={`${this && this.props && this.props.ecId || ''}_Content@dvr42q`} data={this.props.settingInfo}  setStateData={this.props.setStateData}  titleChange={this.props.titleChange}  changeCount={this.props.changeCount} changeIcon={this.props.changeIcon} ShowNumChnage={this.props.ShowNumChnage} changeViewType={this.props.changeViewType}/></TabPane>
            <TabPane ecId={`${this && this.props && this.props.ecId || ''}_TabPane@tls9m0`} tab={getLabel(1014,"样式")} key="2" ><Style ecId={`${this && this.props && this.props.ecId || ''}_Style@fo6hh9`} data={this.props.settingInfo} setStateData={this.props.setStateData} changebgColor={this.props.changebgColor} changeBgTmd={this.props.changeBgTmd}></Style></TabPane>
        </Tabs>
    }
}
export default Setting_Tab;